#include<stdio.h>
#include<string.h>

void func()
{
  int i = 0;
  for(i=0; i<5 ; ++i)
  {
    printf("this is func \n");
  }
  char *ptr = NULL;
  strcpy(ptr,"hello world!\n");
  printf("ptr: %s",ptr);
  return ;

}

int main()
{
  if(1>2)
  {
    printf("nihao \n");
  }
  else{
    printf("hello\n");
  }
  func();
  int i = 0;
  for(i=0; i<5 ; ++i)
  {
    printf("this is main \n");
  }
  return 0;
}
